package school.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import school.DAO.IStudentDAO;
import school.entity.Student;
import school.service.IStudentService;

@Component
public class StudentService extends CommonService<Student> implements IStudentService {

	private IStudentDAO sDao;
	
	@Autowired
	public void setSDao(IStudentDAO sDao)
	{
		this.sDao=sDao;
		super.dao=sDao;
	}
}
